package com.cloudfun.msglisten.common.model.dto;

import lombok.Data;

import java.util.Collection;
import java.util.Collections;

@Data
public class RabbitUserDTO {

    private final String username;

    private final String password;

    private final Collection<String> tags;

    public RabbitUserDTO(String username, String password) {
        this(username, password, Collections.<String>emptyList());
    }

    public RabbitUserDTO(String username, String password, Collection<String> tags) {
        this.username = username;
        this.password = password;
        this.tags = tags;
    }

}
